﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administracion/Administracion.Master" AutoEventWireup="true" CodeBehind="frmAdministracionClientes.aspx.cs" Inherits="ProyectoIngenieriaSoftware.Administracion.Formulario_web1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: center;
        }
        .style5
        {
            text-align: right;
            color: #000000;
            font-size: medium;
            font-family: arial;
        }
        .style4
        {
            text-align: left;
        }
        .style6
        {
            text-align: left;
            width: 46px;
        }
        .style7
        {
            width: 260px;
        }
        .style8
        {
            width: 432px;
        }
        .style9
        {
            width: 122px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="style1">
        <tr>
            <td class="style2">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <h1>
                            <asp:Label ID="lblTitulo" runat="server" Text="Administracion de Cliente"></asp:Label>
                        </h1>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel ID="UpdatePanelPrincipal" runat="server">
                    <ContentTemplate>
                        <asp:UpdatePanel ID="UpdatePanelCampos" runat="server">
                            <ContentTemplate>
                                <table class="style1">
                                    <tr>
                                        <td class="style5">
                                            Documento</td>
                                        <td class="style6">
                                            <asp:TextBox ID="txtDocumento" runat="server" AutoPostBack="True"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtDocumento_TextBoxWatermarkExtender" 
                                                runat="server" Enabled="True" TargetControlID="txtDocumento" 
                                                WatermarkText="Digite documento">
                                            </asp:TextBoxWatermarkExtender>
                                            <asp:FilteredTextBoxExtender ID="txtDocumento_FilteredTextBoxExtender" 
                                                runat="server" FilterType="Numbers" TargetControlID="txtDocumento">
                                            </asp:FilteredTextBoxExtender>
                                        </td>
                                        <td class="style4">
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:Button ID="btnBuscar" runat="server" Enabled="False" Text="Buscar" 
                                                onclick="btnBuscar_Click" style="height: 26px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Nombre</td>
                                        <td class="style6">
                                            <asp:TextBox ID="txtNombre" runat="server" AutoPostBack="True"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtNombre_TextBoxWatermarkExtender" 
                                                runat="server" Enabled="True" TargetControlID="txtNombre" 
                                                WatermarkText="Escribe el nombre">
                                            </asp:TextBoxWatermarkExtender>
                                            <asp:FilteredTextBoxExtender ID="txtNombre_FilteredTextBoxExtender" 
                                                runat="server" FilterType="LowercaseLetters, UppercaseLetters" TargetControlID="txtNombre">
                                            </asp:FilteredTextBoxExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Primer Apellido</td>
                                        <td class="style4" colspan="2">
                                            <asp:TextBox ID="txtApellido1" runat="server"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtApellido1_TextBoxWatermarkExtender" 
                                                runat="server" Enabled="True" TargetControlID="txtApellido1" 
                                                WatermarkText="Escriba apellido">
                                            </asp:TextBoxWatermarkExtender>
                                            <asp:FilteredTextBoxExtender ID="txtApellido1_FilteredTextBoxExtender" 
                                                runat="server" FilterType="UppercaseLetters, LowercaseLetters" TargetControlID="txtApellido1">
                                            </asp:FilteredTextBoxExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Segundo Apellido</td>
                                        <td class="style4" colspan="2">
                                            <asp:TextBox ID="txtApellido2" runat="server"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtApellido2_TextBoxWatermarkExtender" 
                                                runat="server" TargetControlID="txtApellido2" WatermarkText="Escribe Apellido">
                                            </asp:TextBoxWatermarkExtender>
                                            <asp:FilteredTextBoxExtender ID="txtApellido2_FilteredTextBoxExtender" 
                                                runat="server" FilterType="UppercaseLetters, LowercaseLetters" TargetControlID="txtApellido2">
                                            </asp:FilteredTextBoxExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Telefono</td>
                                        <td class="style4" colspan="2">
                                            <asp:TextBox ID="txtTelefono" runat="server"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtTelefono_TextBoxWatermarkExtender" 
                                                runat="server" TargetControlID="txtTelefono" WatermarkText="Digite telefono">
                                            </asp:TextBoxWatermarkExtender>
                                            <asp:MaskedEditExtender ID="txtTelefono_MaskedEditExtender" runat="server" 
                                                Mask="999-99-99" MaskType="Number" TargetControlID="txtTelefono">
                                            </asp:MaskedEditExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Dirrecion</td>
                                        <td class="style4" colspan="2">
                                            <asp:TextBox ID="txtDireccion" runat="server"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="txtDireccion_TextBoxWatermarkExtender" 
                                                runat="server" TargetControlID="txtDireccion" WatermarkText="Digite Direccion">
                                            </asp:TextBoxWatermarkExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style5">
                                            Estado</td>
                                        <td class="style4" colspan="2">
                                            <asp:DropDownList ID="cboEstado" runat="server" Height="21px" Width="146px">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <asp:UpdatePanel ID="UpdatePanelBotones" runat="server">
                            <ContentTemplate>
                                <table class="style1">
                                    <tr>
                                        <td>
                                            &nbsp;</td>
                                        <td class="style7">
                                            <asp:Menu ID="MnuOpciones" runat="server" 
                                                onmenuitemclick="MnuOpciones_MenuItemClick" Orientation="Horizontal">
                                                <Items>
                                                    <asp:MenuItem Text="Agregar" Value="opcAgregar"></asp:MenuItem>
                                                    <asp:MenuItem Text="Actualizar" Value="OpcModificar"></asp:MenuItem>
                                                    <asp:MenuItem Text="Buscar" Value="opcBuscar"></asp:MenuItem>
                                                    <asp:MenuItem Text="Guardar" Value="opcGrabar"></asp:MenuItem>
                                                    <asp:MenuItem Text="Cancelar" Value="opcCancelar"></asp:MenuItem>
                                                </Items>
                                            </asp:Menu>
                                        </td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <table class="style1">
                            <tr>
                                <td class="style8">
                                    &nbsp;</td>
                                <td class="style9">
                                    <asp:Label ID="lblMensaje" runat="server"></asp:Label>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
            <br />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>
